<!-- 会员列表 -->
<template>
  <div class="homeWrap">
    <TotalStatistics />
    <CouponStatistics />
    <div class="homeBottom">
      <MonthValue />
      <Rank />
    </div>
  </div>
</template>

<script>
import TotalStatistics from "./modules/totalStatistics.vue";
import CouponStatistics from "./modules/couponStatistics.vue";
import MonthValue from "./modules/monthValue.vue";
import Rank from "./modules/rank.vue";
export default {
  name: "home",
  components: { TotalStatistics, CouponStatistics, MonthValue, Rank },
  data() {
    return {
    
    };
  },
  created() {
    setTimeout(() => {
      this.num = 8745;
    }, 1000);
  }
};
</script>

<style lang="scss">
.homeWrap {
  background: #f2f2f2;
  height: 100%;
  padding: 20px 100px;
  display: grid;
  grid-template-rows: 100px 1.2fr 2fr;
  grid-gap: 20px;

  .homeBottom {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 3fr 1fr;
    overflow: hidden;
  }
}
</style>
